<?php
require_once "site_config.php";
require_once "ra_global.php";

$status = $_GET['status'];
$userid = $_GET['userid'];
$activityid = $_GET['activityid'];
$now=time();
	
if($status){

 $result=$db->ig2_query('INSERT INTO mae_festival_exchange_log (activityid,userid,createtime,status) VALUES ('.$activityid.','.$userid.','.$now.','.$status.')');
 return json_encode($result);
}
?>